import os
from dotenv import load_dotenv

load_dotenv()  # 加载.env文件


class Config:
    SECRET_KEY = os.getenv("SECRET_KEY", "dev_key")
    SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL", "sqlite:///app.db")
    LOG_FILE_PATH = os.getenv("LOG_FILE_PATH", "logs/app.log")
    LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    KEY = "ShenZhou"
    TAX_TYPE = [
        "增值税一般纳税人",
        "企业所得税预缴",
        "财务报表",
        "印花税",
        "通用申报",
        "房产城镇土地使用税",
        "重点税源",
        "增值税小规模纳税人",
    ]
    TAX_ORG_NUMBER = [
        "91310000607312158W",
        "91320100716211938Y",
        "91330212704808622U",
        "91610136578409574E",
        "91370602MACGW7JQ0H",
        "91310107MA1G19N69G",
        "91330304MAE0L9XD8X",
        "91330304MADUA40H2Q",
        "91440300MADL4X474G",
        "91330282MACR00E10M",
        "91220101050548103U",
        "91310000MA1G0J4Q39",
        "91230100763194632H",
        "913101156694091318",
        "91320402MACTT3159P",
        "913301006970659115",
        "91320281787668388R",
        "91500106MA608GPR5N",
        "9150010862192373XD",
        "912101067600516603",
        "91441900749962885J",
        "913502006120466169",
        "91310107MAD68MW705",
        "91520100MA6HXXN26A",
        "91220101081806515G",
        "9132050578206215X0",
        "91320505769869741Q",
        "91500108709360775R",
        "91500107MA60779X2P",
        "91500000077275141B",
        "91321000583725985Q",
        "91220100MA84WQ975D",
        "91500107MACT74XA6L",
        "91310115MA1H9GMT4M",
    ]
    TEST_URL = "https://d-k8s-sso-fp.bigfintax.com"
    PROD_URL = "https://sso-fp.bigfintax.com"
